Woocommerce\Pagarme\Controller\Settings A

Total Complexity 54
Dependencies 13
Dependents 0
Total lines 466
Lines of code 330
Logical lines of code 129
Comment lines 60
Methods 21
Properties 5

Methods 21

Method Rating Maintainability Complexity Lines of code
pagarme_toggle_payment_subscription()
A
43 9 48
setSectionsFields()
A
39 4 82
populate_subscription_payments_toggles_column()
S
49 5 34
__construct()
S
51 5 27
getGateways()
S
59 5 14
plugin_settings()
S
55 3 20
validate_options()
S
65 3 9
admin_scripts()
S
56 1 18
getField()
S
66 2 8
sanitize_field()
S
71 2 6
add_payment_gateway()
S
71 2 6
autoLoad()
S
73 2 5
getPaymentMethodPrefix()
S
73 2 4
gateway_load()
S
70 2 6
isGatewaySubscriptionActive()
S
71 1 5
plugin_link()
S
65 1 10
subscription_payments_toggles_column()
S
66 1 7
get_option_key()
S
81 1 3
jsUrl()
S
79 1 3
settings_menu()
S
66 1 10
settings_page()
S
73 1 5